package com.supercube.sport.yoga.dao;

import com.supercube.sport.yoga.domain.CourseBasicInfoDTO;
import com.supercube.sport.yoga.vo.CourseBasicInfoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseBasicInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(CourseBasicInfoDTO record);

    int insertSelective(CourseBasicInfoDTO record);

    CourseBasicInfoVO selectByPrimaryKey(String id);

    List<CourseBasicInfoVO> selectAll(@Param("classType")String classType);

    int updateByPrimaryKeySelective(CourseBasicInfoDTO record);

    int updateByPrimaryKey(CourseBasicInfoDTO record);

    List<CourseBasicInfoVO> selectCourseBasicList(CourseBasicInfoDTO record);
}